<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      >
    <h:head>
        <title>Facelet Title</title>
        <style>
            .order-table{   
	border-collapse:collapse;
}
 
.order-table-header{
	text-align:center;
	background:none repeat scroll 0 0 #E5E5E5;
	border-bottom:1px solid #BBBBBB;
	padding:16px;
}
 
.order-table-odd-row{
	text-align:center;
	background:none repeat scroll 0 0 #FFFFFFF;
	border-top:1px solid #BBBBBB;
}
 
.order-table-even-row{
	text-align:center;
	background:none repeat scroll 0 0 #F9F9F9;
	border-top:1px solid #BBBBBB;
}
.bankroot{
                    color:#D20005;
                }     
            
        </style>
    </h:head>
    <h:body>
        <h:form>
        <h:panelGrid>
                
            <h:dataTable value="#{adminBean.listComm}" var="item"
                                 styleClass="order-table"
    			headerClass="order-table-header"
                        rowClasses="order-table-odd-row,order-table-even-row"
                        
                        
                        >
                        
                        <h:column>
    				<f:facet name="header">Date</f:facet>
                                <h:outputText value="#{item.getmDate().toLocaleString()}"></h:outputText>	
    			</h:column>
                        <h:column>
    				<f:facet name="header">Lieu</f:facet>
    				#{item.getmMarker().getmNameAccess()}
    			</h:column>
                        <h:column>
    				<f:facet name="header">Commentaire</f:facet>
    				#{item.getmContent()}
    			</h:column>
                        <h:column>
    				<f:facet name="header">Alert</f:facet>
    				#{item.getmAlert()}
    			</h:column>
                        
                        
                        
                    </h:dataTable>
                
          </h:panelGrid>

            </h:form>
        
    </h:body>
</html>

